package com.itboye.textileexpres.util;

import android.view.View;
import android.widget.ImageView;
import android.widget.ProgressBar;

import com.itboye.textileexpes.beans.MyOrderBeans;
import com.itboye.textileexpres.R;
import com.itboye.textileexpres.base.BaseActivity;
import com.itboye.textileexptes.config.GlobalConfig;

public class ImageUtilmaxActivity extends BaseActivity{
	String img;
	ImageView image;
	ProgressBar loading;
	MyOrderBeans beans;
	@Override
	public int initView() {
		// TODO Auto-generated method stub
		return R.layout.image_detail_fragment;
	}

	@Override
	public void onMyCreate() {
		// TODO Auto-generated method stub
		
		beans=(MyOrderBeans) getIntent().getSerializableExtra("img");
		for (int i = 0; i < beans.getList().size(); i++) {
			for (int j = 0; j < beans.getList().get(i).getItems().size(); j++) {
				XImageLoader.load(GlobalConfig.IMAGE_DOUBLE+beans.getList().get(i).getItems().get(j).getImg(), image);
			}
				
		}
		
		
	}

}
